package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	UserName string `gorm:"not null; type:varchar(20)" form:"username" json:"username"`
	PassWord string `gorm:"not null " form:"password" json:"password"`
	Phone    string `gorm:"type:varchar(11); not null; unique" form:"phone" json:"phone"`
}
